<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<HTML>
    <HEAD>


        <TITLE>Empleado</TITLE>
        <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

        <script type="text/JavaScript">
            <!--
            function MM_goToURL() { //v3.0
                var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
                for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
            }
            //-->
        </script>
        <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
        <SCRIPT LANGUAGE="JavaScript">
            <!--

            function newImage(arg) {
                if (document.images) {
                    rslt = new Image();
                    rslt.src = arg;
                    return rslt;
                }
            }

            function changeImages() {
                if (document.images && (preloadFlag == true)) {
                    for (var i=0; i<changeImages.arguments.length; i+=2) {
                        document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
                    }
                }
            }

            var preloadFlag = false;
            function preloadImages() {
                if (document.images) {
                    butt_01_over = newImage("images/butt_01-over.jpg");
                    butt_02_over = newImage("images/butt_02-over.jpg");
                    butt_03_over = newImage("images/butt_03-over.jpg");
                    butt_04_over = newImage("images/butt_04-over.jpg");
                    butt_05_over = newImage("images/butt_05-over.jpg");
                    butt_06_over = newImage("images/butt_06-over.jpg");
                    preloadFlag = true;
                }
            }

            // -->
        </SCRIPT>
        <link href="general.css" rel="stylesheet" type="text/css">
        <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
        <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
    </HEAD>
    <BODY BGCOLOR=#133F54 ONLOAD="preloadImages();" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
        <div align="center">
            <TABLE WIDTH=1191 height="129" BORDER=1 CELLPADDING=0 CELLSPACING=0>
                <TR>
                    <TD width="178" height="218" align="center" valign="middle" class="logo"><p><strong>Chasqui-soft</strong></p>
                        <p><img src="images/defaultlogo.gif" width="48" height="48" alt="logo"></p></TD>
                    <TD width="1007" align="left" valign="top"><img src="images/callcenter_banner.jpg" width="1009" height="216" alt="banner"></TD>
                </TR>
                <TR>
                    <TD height="152"><img src="images/info_area.jpg" alt="back" width=178 height=270></TD>
                    <TD rowspan="3" align="center" valign="top"><table width="900" height="484" border="0" cellspacing="0">
                            <tr>
              <td><p class="ruta">><a href="usuario.jsp" class="ruta">Administraci&oacute;n</a>&gt;<a href="user_pestanas.jsp" class="ruta">Usuario</a>&gt;<a href="modificar_usuario.jsp" class="ruta">Empleado</a>&gt;Modificar Empleado </p></td>
                            <tr>
                                <td width="584" height="484" align="center" valign="top" scope="col"><p>&nbsp;</p>
                                    <p class="Titlulos_General">Empleados</p>
                                    <p class="Titlulos_General"><img src="images/t_19.jpg" width="500" height="2" alt="serparador"></p>
                                    <blockquote>
                                        <blockquote>
                                            <blockquote>
                                              <blockquote>
                                                <p align="left" class="texto">&nbsp;</p>
                                              </blockquote>
                                            </blockquote>
                                        </blockquote>
                                    </blockquote>
                                  <table width="868" height="129" border="1">
                                  <tr class="texto">
                                            <td width="170" height="31"><div align="center" class="Titulos_texto"><strong>Nombre</strong></div></td>
                                            <td width="180"><div align="center" class="Titulos_texto"><strong>Apellido</strong></div></td>
                                            <td width="188"><div align="center" class="Titulos_texto"><strong>User</strong></div></td>
                                            <td width="173"><div align="center" class="Titulos_texto"><strong>E-mail</strong></div></td>
                                            <td width="123"><div align="center" class="Titulos_texto"><strong>Acciones</strong></div></td>
                                           
                                        </tr>

                                        <form action="CampanaServlet?action=irmodificarempleado" method="POST">
                                            <c:forEach var="empleados" items="${requestScope.empleados}">
                                                <tr>
                                                    
                                                    <td align="center" valign="middle" class="tablas">${empleados.nombre}</td>
                                                    <td align="center" valign="middle" class="tablas">${empleados.apellidop}</td>
                                                    <td align="center" valign="middle" class="tablas">${empleados.username}</td>
                                                    <td align="center" valign="middle" class="tablas">${empleados.email}</td>
                                                    <td align="center" valign="middle">
                                                            <label>

                                                                <div align="center">
                                                                   
                                                                        <a href="EmpleadoServlet?action=irmodificarempleado&id=${empleados.idEmpleado}">
                                                                            <input name=" Eliminar " type="button" value=" Modificar/Eliminar ">
                                                                        </a></div>
                                                            </label>
                                                        </td>
                                                </tr>
                                            </c:forEach>
                                        </form>
                                    </table>
                                    <table width="870" height="86" border="0" cellspacing="0">
                                      <tr>
                                        <th height="34" colspan="3" scope="col"><span class="Titlulos_General"><img src="images/t_19.jpg" width="500" height="2" alt="serparador"></span></th>
                                      </tr>
                                      <tr>
                                        <th height="26" scope="col">&nbsp;</th>
                                        <th width="135" align="left" scope="col">&nbsp;</th>
                                        <th scope="col"><input name="return" type="submit" id="return" onClick="MM_goToURL('parent','user_pestanas.jsp');return document.MM_returnValue" value="           Volver            "></th>
                                      </tr>
                                      <tr>
                                        <th width="804" height="26" scope="col">&nbsp;</th>
                                        <th scope="row">&nbsp;</th>
                                        <th width="40" scope="col"><a href="EmpleadoServlet?action=irempleado">
                                          <input type="submit" name="ec" id="ec" value="    Nuevo  Empleado   ">
                                        </a></th>
                                      </tr>
                                  </table></td>
                      </tr>

                  </table></TD>
                </TR>
                <TR>
                    <TD height="208" valign="top"><ul id="MenuBar1" class="MenuBarVertical">
                            <li><a href="index2.jsp">Home</a>          </li>
                            <li><a href="clientes2.jsp">Clientes</a></li>
                            <li><a href="usuario2.jsp" class="MenuBarItemSubmenu">Administraci&oacute;n</a>
                                <ul>
                                    <li><a href="AbonadoServlet">Abonados</a></li>
            						<li><a href="CampanaServlet">Campa&ntilde;as</a></li>
            						<li><a href="modificar_usuario.jsp">Empleados</a></li>
            						<li><a href="ReportesServlet?action=listreportes">Reportes</a></li>
           							<li><a href="CampanaServlet?action=volverusuario">Cerrar Sesi&oacute;n</a></li>
                                </ul>
                            </li>
                            <li><a href="noticias2.jsp">Noticias</a></li>
                            <li><a href="soporte2.jsp">Soporte</a></li>
                            <li><a href="contactanos2.jsp">Cont&aacute;ctanos</a></li>
                        </ul></TD>
                </TR>
                <TR>
                    <TD height="187" valign="top"><img src="images/info_area.jpg" alt="back" width=178 height=270></TD>
                </TR>
            </TABLE>
    </div>
        <!--Jansondesigns.com offers an impressive collection of professionally made web templates, banner templates,
        flash designs, free templates and free web graphics. We have templates that suit any personal or professional web site needs!! -->
        <script type="text/javascript">
            <!--
            var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
            //-->
        </script>
    </BODY>
</HTML>


